#include "StdAfx.h"
#include "im_event_handler_impl.h"
#include "dll_object.h"

im_event_handler_impl::im_event_handler_impl()
{
}

im_event_handler_impl::~im_event_handler_impl()
{
}

void 
im_event_handler_impl::on_event(int ev, WPARAM wparam, LPARAM lparam, aot::tt::sys_event_param_t* p)
{
	aot_log_trace(AOT_LM_TRACE, "im_event_handler_impl::on_event()");
	aot_log_debug(AOT_LM_DEBUG, "ev = %d", ev);
	g_dll_obj->imain_->dispatch_sys_event(aot::tt::imain::regist_sys_event_t::e_type_im, ev, wparam, lparam, p);
}
